package com.haier.bims.fridge.bean;

import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name="freezeDevice")
public class FreezeDevice  extends Fridge{
	

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String id;
    private String objid;
    private String status;
    private String style;
    private String width;
    private String height;
    private List<FreezeLevel> child;
    private String type;
    private String sampleCount;
    private String boxCount;
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getObjid() {
        return objid;
    }
    public void setObjid(String objid) {
	this.id=objid;
        this.objid = objid;
    }
    public String getStatus() {
        return status;
    }
    public void setStatus(String status) {
        this.status = status;
    }
    public List<FreezeLevel> getChild() {
        return child;
    }
    public void setChild(List<FreezeLevel> child) {
        this.child = child;
    }
    public String getStyle() {
        return style;
    }
    public void setStyle(String style) {
	switch (Integer.parseInt(style)) {
	case 1://立式
	    this.style = "10";
	    break;
	case 0://卧式
	    this.style = "20";
	    break;
	case 2://液氮罐
	default:
	    this.style = style;
	    break;
	}
    }
    public String getWidth() {
        return width;
    }
    public void setWidth(String width) {
        this.width = width;
    }
    public String getHeight() {
        return height;
    }
    public void setHeight(String height) {
        this.height = height;
    }
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getSampleCount() {
		return sampleCount;
	}
	public void setSampleCount(String sampleCount) {
		this.sampleCount = sampleCount;
	}
	public String getBoxCount() {
		return boxCount;
	}
	public void setBoxCount(String boxCount) {
		this.boxCount = boxCount;
	}
		
}
